package cn.kgc.springboot04.interfaces;

/**
 * @Author: 课工场
 * @Version: v1.0  2023/7/21
 * @Description:
 */
public class Student implements Person {
    @Override
    public void say(String info) {
        System.out.println("info = "+info);
    }

    public void say2(String info) {
        System.out.println("info = "+info);
    }

    //public void eat(String info) {
    //    System.out.println("eat()");
    //    System.out.println("info = "+info);
    //}

    public static void eat(String info) {
        System.out.println("eat()");
        System.out.println("info = "+info);
    }


}
